package com.zaydanwu.cla.service.Impl;

import com.zaydanwu.cla.dao.ReadMapper;
import com.zaydanwu.cla.model.Read;
import com.zaydanwu.cla.service.ReadService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wzo
 * @since 2.0.0 2018-12-18
 */
@Service
public class ReadServiceImpl implements ReadService {

    @Resource
    private ReadMapper readMapper;

    @Override
    public List<Read> getAllRead() {
        return readMapper.allReads();
    }
}
